<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var flag = true ; 
        // console.log(flag)
        let flag = new Boolean(null);
        console.log(flag.valueOf());

        //结论： false->0,"",false,undefined,null,NaN
        // true，除了以上的值，其它都为true
        console.log(Boolean(null))


    </script>


</body>
</html>